.el-alert {
  align-items: flex-start !important;
  padding: 15px 20px !important;

  // 成功
  &.el-alert--success {
    &.is-light {
      background: #EDF8E8 !important;
      border: 1px solid #B9E3C2 !important;
      border-radius: 4px !important;
    }
  }

  // 失败
  &.el-alert--error {
    &.is-light {
      background: #FFF2F1 !important;
      border: 1px solid #FFA29F !important;
      border-radius: 4px !important;
    }
  }

  // 警告
  &.el-alert--warning {
    &.is-light {
      background: #FEF9ED !important;
      border: 1px solid #FDDBB9 !important;
      border-radius: 4px !important;
    }
  }

  // info
  &.el-alert--info {
    &.is-light {
      background: #E1ECFF !important;
      border: 1px solid #79A9FF !important;
      border-radius: 4px !important;
    }
  }

  .el-icon-info:before {
    content: "\e683";
    color: #337DFF;
    font-family: 'iconfont' !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .el-icon-success:before {
    content: "\e680";
    color: #10C038;
    font-family: 'iconfont' !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .el-icon-error:before {
    content: "\e682";
    color: #F04134;
    font-family: 'iconfont' !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .el-icon-warning:before {
    content: "\e681";
    color: #FF931D;
    font-family: 'iconfont' !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

.el-alert__icon {
  font-size: 24px !important;
  width: 24px !important;
}

// 警告的title
.alert-title {
  font-size: 14px;
  color: #333333;
  letter-spacing: 0;
  text-align: justify;
}

// 警告的描述
.alert-description {
  font-size: 12px;
  color: #999999;
  letter-spacing: 0;
  text-align: justify;
  margin: 5px auto;
}

// 警告的操作
.alert-action {
  font-size: 12px;
  color: #337DFF;
  letter-spacing: 0;
  text-align: justify;
}